package com.ss.android.article.base.feature.update.activity;

import android.widget.AbsListView;
import android.widget.ListView;
import com.ss.android.common.util.NetworkUtils;

final class l implements AbsListView.OnScrollListener {
    private final g a;

    l(g arg1) {
        this.a = arg1;

    }

    public final void onScroll(AbsListView arg3, int arg4, int arg5, int arg6) {
        if(arg4 + arg5 >= arg6 && (!(arg3 instanceof ListView) || arg6 > ((ListView) arg3).getFooterViewsCount() + ((ListView) arg3).getHeaderViewsCount()) && (NetworkUtils.isNetworkAvailable(arg3.getContext())) && (this.a.v)) {
            this.a.a(false);
        }
    }

    public final void onScrollStateChanged(AbsListView arg1, int arg2) {
    }
}

